package cn.ds.assets.module.assets.controller.admin.dataQualityRuleTemplate.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.ds.assets.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.ds.assets.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 数据质量规则模板关联 Excel 导出 Request VO，参数和 BaseDataQualityRuleTemplatePageReqVO 是一致的")
@Data
public class BaseDataQualityRuleTemplateExportReqVO {

    @Schema(description = "主键id")
    private Long[] ids;

    @Schema(description = "规则类别:0通用,1自定义")
    private Byte ruleGenre;

    @Schema(description = "规则类型", example = "2")
    private String ruleType;

    @Schema(description = "质量维度")
    private String qualityDimension;

    @Schema(description = "规则模板类型", example = "2")
    private String ruleTemplateType;

    @Schema(description = "规则模板编码")
    private String ruleTemplateCode;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "模板名称", example = "王五")
    private String templateName;

}
